package com.indusfo.spc.pojo;

import com.indusfo.spc.common.pojo.BasePojo;

import java.util.Date;

public class Area extends BasePojo {

    // 区域ID
    private Integer areaId;
    // 区域编号
    private String areaCode;
    // 区域名称
    private String areaName;
    // 仓库ID
    private Integer warehouseId;
    // 仓库名称
    private String warehouseName;

    private Date createDate;

    private Date modifyDate;
    // 说明
    private String remark;
    // 状态码
    private Integer dataState;

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode == null ? null : areaCode.trim().replace(" ","");
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName == null ? null : areaName.trim().replace(" ","");
    }

    public Integer getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Integer warehouseId) {
        this.warehouseId = warehouseId;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim().replace(" ","");
    }

    public Integer getDataState() {
        return dataState;
    }

    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }

    public Area() {
    }

    public Area(String areaCode, String areaName, String warehouseName) {
        this.areaCode = areaCode;
        this.areaName = areaName;
        this.warehouseName = warehouseName;
    }
}